package com.yoj.model.codesandbox;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel(value = "判题信息")
public class JudgeInfo {

    @ApiModelProperty(value = "程序执行信息", notes="判题消息枚举枚举，如：Accepted、Wrong Answer 等")
    private String message;

    // 错误详情，包括编译报错、运行报错等错误信息
    private String errDetails;

    @ApiModelProperty(value = "消耗内存（KB）")
    private Long memory;

    @ApiModelProperty(value = "消耗时间（ms）")
    private Long time;
}